import { Input } from 'antd'

const { TextArea } = Input

const TextAreaEntry = (props) => {
  const { value, onChange, ...opt } = props
  return <TextArea {...opt} onChange={(e) => onChange(e.target.value)} />
}

export default TextAreaEntry
